package com.sec.etech.chain.customer.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.fanutil.BaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "proj_customer")
public class ProjCustomer extends BaseEntity implements Serializable {
    @TableId(value = "customerid")
    private Long customerid;
    private Boolean scope;
    private String customercode;
    private String customername;
    private Integer orderscount;
    private String shortname;
    private Long customergroupid;
    private String groupIdJson;
    private String formername;
    private String province;
    private String city;
    private String district;
    private String address;
    private String contacts;
    private String contactsdownload;

    private Long statusId;
    private String creditCode;
    private Long propertyId;
    private Long countryId;
    private Long rankId;
    private String remark;

    public ProjCustomer() {
    }


    public ProjCustomer(Long customerid, String customercode, String customername, Long customergroupid) {
        this.customerid = customerid;
        this.customercode = customercode;
        this.customername = customername;
        this.customergroupid = customergroupid;
    }
}
